package cn.dac;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ServletApplication /*implements ServletContextInitializer*/ {


    public static void main(String[] args){
        SpringApplication.run(ServletApplication.class,args);
    }

    /*@Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        // 配置 Servlet
        servletContext.addServlet("servletTest",new ServletTest())
                .addMapping("/servletTest");
    }*/
}
